package cn.wolfcode.cxf;


import cn.wolfcode.cxf.dto.User;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import java.io.UnsupportedEncodingException;

/**
 * @Author: L.Wen
 * @created_at: 2019/05/23 15:10
 */
@WebService
public interface AppService {


    @WebMethod
    String getUserName(@WebParam(name = "id") String id) throws UnsupportedEncodingException;
    public User getUserName2(String id) throws UnsupportedEncodingException;
    @WebMethod
    public User getUser(String id) throws UnsupportedEncodingException;
}